﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ZKLibrarys.Models
{
    /// <summary>
    /// 网络类
    /// </summary>
    public class ModelNetwork
    {

    }


    /// <summary>
    /// 网速类
    /// </summary>
    public static class NetworkSpeeds
    {
        public static List<NetworkSpeed> Speeds
        {
            get
            {
                _Speeds = new List<NetworkSpeed>();
                _Speeds.Add(NetworkSpeed.百兆全双工);
                _Speeds.Add(NetworkSpeed.百兆半双工);
                _Speeds.Add(NetworkSpeed.十兆全双工);
                _Speeds.Add(NetworkSpeed.十兆半双工);
                return _Speeds;
            }
        }
        private static List<NetworkSpeed> _Speeds;
    }

    /// <summary>
    /// 网速枚举
    /// </summary>
    public enum NetworkSpeed
    {
        百兆全双工 = 0,
        百兆半双工 = 1,
        十兆全双工 = 2,
        十兆半双工 = 3
    }
}
